function factory (i)
	local loc = 'ez come ez go'
	return function (f)
		if f then
			return i ^ 2
		else
			return loc
		end 
	end
end

f = factory(11)
print('f(true)',	f(true))
print('f(false)',	f(false))
